package cn.face.sdk;

public class FaceCamera
{
  static FaceCamera camera = null;

  public FaceCamera() {
    FaceCommon.loadLibrarys();
  }

  public static FaceCamera getInstance()
  {
    if (camera == null) {
      camera = new FaceCamera();
    }
    return camera;
  }

  public static native int cwOpenCameras(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5);

  public static native int cwCloseCameras();

  public static native int cwGetVisImage(byte[] paramArrayOfByte1, byte[] paramArrayOfByte2, int paramInt);

  public static native int cwGetNisImage(byte[] paramArrayOfByte1, byte[] paramArrayOfByte2, int paramInt);

  public static native int cwOpenCamera(int paramInt1, int paramInt2, int paramInt3, int paramInt4);

  public static native int cwCloseCamera();
}